package com.dog.basics.bean.model.mtkj;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 设备锁通道表
 * </p>
 *
 * @author wph
 * @since 2020-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mt_device_lock_pass")
public class MtDeviceLockPass implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 通道编号
     */
    @TableField("pass_num")
    private String passNum;

    /**
     * 锁ID
     */
    @TableField("lock_id")
    private Long lockId;
    /**
     * 锁当前占用用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 轮椅ID
     */
    @TableField("whee_id")
    private Long wheeId;

    /**
     * 设备通道状态 : 0-未绑定 1-已绑定
     */
    @TableField("pass_status")
    private Integer passStatus;
    /**
     * 设备通道开锁状态 : 0-空闲 1:占用
     */
    @TableField("pass_lock_status")
    private Integer passLockStatus;
    /**
     * 备用字段1 0-未故障 1-已故障
     */
    @TableField("remarks_one")
    private String remarksOne;

    /**
     * 备用字段2 故障标识
     */
    @TableField("remarks_tow")
    private String remarksTow;

    /**
     * 备用字段3
     */
    @TableField("remarks_three")
    private String remarksThree;

    /**
     * 上传时间
     */
    @TableField("create_time")
    private Long createTime;

    /**
     * 上传者
     */
    @TableField("create_by")
    private Long createBy;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Long updateTime;

    /**
     * 更新者
     */
    @TableField("update_by")
    private Long updateBy;


}
